package ie.lawlor.amvc.example.explorer.folder;

import ie.lawlor.amvc.event.Event;
import ie.lawlor.amvc.patterns.standard.StandardModel;


/**
 * @author blawlor
 *
 */
public class FolderModel extends StandardModel {
	
	private Class currentClass;
	public FolderModel(String name){
		super(name, false);
	}
	
	public void doSelectionChanged(Event e){
		System.out.println("FolderModel: doSelectionChanged");
		if (e.getPayload() != null){
			currentClass = e.getPayload().getClass();
		}
	}
}
